<%--
  Created by IntelliJ IDEA.
  User: yaclt
  Date: 2021/12/2 0002
  Time: 10:34
  To change this template use File | Settings | File Templates.
  注意：isELIgnored 默认为true 会忽略el表达式的解析
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1>java的写法:<%=request.getAttribute("a")%>
</h1>
<h1>el表达式的写法:${a}</h1>
<h1>el表达式的.运算:${user.nickname}</h1>
<h1>el表达式的[]运算:${user['nickname']}</h1>
<h2>${user.id + 1}</h2>
</body>
</html>
